FROM java:8
###复制文件到容器app-springboot
ADD target/bankers-0.0.1-SNAPSHOT.jar /demo.jar
###声明启动端口号
EXPOSE 8080
###配置容器启动后执行的命令
ENTRYPOINT ["java","-jar","-Xmx512M","/demo.jar"]
